package com.clt.ess.entity;

public class Seal {
    //印章id
    private String sealId;
    //印章编码
    private String seal_code;
    //印章名称
    private String sealName;
    //印章图片Id
    private String sealImgId;
    //证书id
    private String cerId;
    //录入人Id
    private String inputUserId;
    //录入时间
    private String inputTime;
    //所属单位id
    private String unitId;
    private String jbr_name;
    private String jbr_card_type;
    private String jbr_card_data;
    private String make_unit_id;
    //印章类型Id
    private String sealTypeId;
    //手签人身份证号
    private String sealHwIdNum;
    //产品使用权
    private int fileTypeNum;
    //授权到期时间
    private String sealStartTime;
    //授权到期时间
    private String sealEndTime;
    //UK上的授权信息（注册的UK）
    private String authorizationTime;
    //UK上的授权信息（注册的UK）
    private String authorizationInfo;
    //设备编码
    private String device_code;
    //是否为UK印章 0软证书印章 1UK印章
    private int isUK;
    //印章状态 1有效 2停用 3 暂停
    private int sealState;

    private String cardType;


    private String appSymKeyEnc;
    private String dataSymKeyEnc;
    private String encFile;
    private String ukinfo;
    private String signature;
    private String keyid;
    private String taskId;

    private String encDeviceCode;
    private SealImg sealImg;



    private Certificate certificate;

    private Unit unit;


    private Unit make_unit;

    private User inputUser;


    public String getSealId() {
        return sealId;
    }

    public void setSealId(String sealId) {
        this.sealId = sealId;
    }

    public String getSealName() {
        return sealName;
    }

    public void setSealName(String sealName) {
        this.sealName = sealName;
    }

    public String getSealImgId() {
        return sealImgId;
    }

    public void setSealImgId(String sealImgId) {
        this.sealImgId = sealImgId;
    }

    public String getCerId() {
        return cerId;
    }

    public void setCerId(String cerId) {
        this.cerId = cerId;
    }

    public String getInputUserId() {
        return inputUserId;
    }

    public void setInputUserId(String inputUserId) {
        this.inputUserId = inputUserId;
    }

    public String getInputTime() {

        return inputTime;
    }

    public void setInputTime(String inputTime) {

        this.inputTime = inputTime;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    public String getSeal_code() {
        return seal_code;
    }

    public void setSeal_code(String seal_code) {
        this.seal_code = seal_code;
    }

    public String getJbr_name() {
        return jbr_name;
    }

    public void setJbr_name(String jbr_name) {
        this.jbr_name = jbr_name;
    }

    public String getJbr_card_type() {
        return jbr_card_type;
    }

    public void setJbr_card_type(String jbr_card_type) {
        this.jbr_card_type = jbr_card_type;
    }

    public String getJbr_card_data() {
        return jbr_card_data;
    }

    public void setJbr_card_data(String jbr_card_data) {
        this.jbr_card_data = jbr_card_data;
    }

    public String getMake_unit_id() {
        return make_unit_id;
    }

    public void setMake_unit_id(String make_unit_id) {
        this.make_unit_id = make_unit_id;
    }

    public String getDevice_code() {
        return device_code;
    }

    public void setDevice_code(String device_code) {
        this.device_code = device_code;
    }

    public String getSealTypeId() {
        return sealTypeId;
    }

    public void setSealTypeId(String sealTypeId) {
        this.sealTypeId = sealTypeId;
    }

    public String getSealHwIdNum() {
        return sealHwIdNum;
    }

    public void setSealHwIdNum(String sealHwIdNum) {
        this.sealHwIdNum = sealHwIdNum;
    }

    public int getFileTypeNum() {
        return fileTypeNum;
    }

    public void setFileTypeNum(int fileTypeNum) {
        this.fileTypeNum = fileTypeNum;
    }

    public String getSealStartTime() {
        return sealStartTime;
    }

    public void setSealStartTime(String sealStartTime) {
        this.sealStartTime = sealStartTime;
    }

    public String getSealEndTime() {
        return sealEndTime;
    }

    public void setSealEndTime(String sealEndTime) {
        this.sealEndTime = sealEndTime;
    }

    public String getAuthorizationTime() {
        return authorizationTime;
    }

    public void setAuthorizationTime(String authorizationTime) {
        this.authorizationTime = authorizationTime;
    }

    public String getAuthorizationInfo() {
        return authorizationInfo;
    }

    public void setAuthorizationInfo(String authorizationInfo) {
        this.authorizationInfo = authorizationInfo;
    }


    public int getIsUK() {
        return isUK;
    }

    public void setIsUK(int isUK) {
        this.isUK = isUK;
    }

    public int getSealState() {
        return sealState;
    }

    public void setSealState(int sealState) {
        this.sealState = sealState;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public SealImg getSealImg() {
        return sealImg;
    }

    public void setSealImg(SealImg sealImg) {
        this.sealImg = sealImg;
    }

    public Certificate getCertificate() {
        return certificate;
    }

    public void setCertificate(Certificate certificate) {
        this.certificate = certificate;
    }

    public Unit getUnit() {
        return unit;
    }

    public void setUnit(Unit unit) {
        this.unit = unit;
    }

    public User getInputUser() {
        return inputUser;
    }

    public void setInputUser(User inputUser) {
        this.inputUser = inputUser;
    }


    public Unit getMake_unit() {
        return make_unit;
    }

    public void setMake_unit(Unit make_unit) {
        this.make_unit = make_unit;
    }

    public String getAppSymKeyEnc() {
        return appSymKeyEnc;
    }

    public void setAppSymKeyEnc(String appSymKeyEnc) {
        this.appSymKeyEnc = appSymKeyEnc;
    }

    public String getDataSymKeyEnc() {
        return dataSymKeyEnc;
    }

    public void setDataSymKeyEnc(String dataSymKeyEnc) {
        this.dataSymKeyEnc = dataSymKeyEnc;
    }

    public String getEncFile() {
        return encFile;
    }

    public void setEncFile(String encFile) {
        this.encFile = encFile;
    }

    public String getUkinfo() {
        return ukinfo;
    }

    public void setUkinfo(String ukinfo) {
        this.ukinfo = ukinfo;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getKeyid() {
        return keyid;
    }

    public void setKeyid(String keyid) {
        this.keyid = keyid;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getEncDeviceCode() {
        return encDeviceCode;
    }

    public void setEncDeviceCode(String encDeviceCode) {
        this.encDeviceCode = encDeviceCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"sealId\":\"")
                .append(sealId).append('\"');
        sb.append(",\"seal_code\":\"")
                .append(seal_code).append('\"');
        sb.append(",\"sealName\":\"")
                .append(sealName).append('\"');
        sb.append(",\"sealImgId\":\"")
                .append(sealImgId).append('\"');
        sb.append(",\"cerId\":\"")
                .append(cerId).append('\"');
        sb.append(",\"inputUserId\":\"")
                .append(inputUserId).append('\"');
        sb.append(",\"inputTime\":\"")
                .append(inputTime).append('\"');
        sb.append(",\"unitId\":\"")
                .append(unitId).append('\"');
        sb.append(",\"jbr_name\":\"")
                .append(jbr_name).append('\"');
        sb.append(",\"jbr_card_type\":\"")
                .append(jbr_card_type).append('\"');
        sb.append(",\"jbr_card_data\":\"")
                .append(jbr_card_data).append('\"');
        sb.append(",\"make_unit_id\":\"")
                .append(make_unit_id).append('\"');
        sb.append(",\"sealTypeId\":\"")
                .append(sealTypeId).append('\"');
        sb.append(",\"sealHwIdNum\":\"")
                .append(sealHwIdNum).append('\"');
        sb.append(",\"fileTypeNum\":")
                .append(fileTypeNum);
        sb.append(",\"sealStartTime\":\"")
                .append(sealStartTime).append('\"');
        sb.append(",\"sealEndTime\":\"")
                .append(sealEndTime).append('\"');
        sb.append(",\"authorizationTime\":\"")
                .append(authorizationTime).append('\"');
        sb.append(",\"authorizationInfo\":\"")
                .append(authorizationInfo).append('\"');
        sb.append(",\"device_code\":\"")
                .append(device_code).append('\"');
        sb.append(",\"isUK\":")
                .append(isUK);
        sb.append(",\"sealState\":")
                .append(sealState);
        sb.append(",\"cardType\":\"")
                .append(cardType).append('\"');
        sb.append(",\"appSymKeyEnc\":\"")
                .append(appSymKeyEnc).append('\"');
        sb.append(",\"dataSymKeyEnc\":\"")
                .append(dataSymKeyEnc).append('\"');
        sb.append(",\"encFile\":\"")
                .append(encFile).append('\"');
        sb.append(",\"ukinfo\":\"")
                .append(ukinfo).append('\"');
        sb.append(",\"signature\":\"")
                .append(signature).append('\"');
        sb.append(",\"keyid\":\"")
                .append(keyid).append('\"');
        sb.append(",\"taskId\":\"")
                .append(taskId).append('\"');
        sb.append(",\"sealImg\":")
                .append(sealImg);
        sb.append(",\"certificate\":")
                .append(certificate);
        sb.append(",\"unit\":")
                .append(unit);
        sb.append(",\"make_unit\":")
                .append(make_unit);
        sb.append(",\"inputUser\":")
                .append(inputUser);
        sb.append('}');
        return sb.toString();
    }
}
